<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>
<trans:initPage module="viewalerts" />
<table width="50%" align="center" cellpadding="5" cellspacing="1" border="0" bgcolor="#3399CC" class="text">
<tr><td bgcolor="#FFFFFF"><b><trans:showPageMessage label="viewalerts.name" />:</b>
<i>

<logic:equal name="alert" property="alertType" value="1">
<trans:showPageMessage label="viewalerts.approvalalert" /> : <trans:showPageMessage label="viewalerts.approve" />
</logic:equal>
<logic:equal name="alert" property="alertType" value="2">
<trans:showPageMessage label="viewalerts.filteralertfor" />
</logic:equal>
<logic:equal name="alert" property="alertType" value="3">
<trans:showPageMessage label="viewalerts.messagealertfor" />
</logic:equal>

	<logic:equal name="alert" property="sourceType" value="1">
<trans:showPageMessage label="viewalerts.aproject" />
	</logic:equal>
	<logic:equal name="alert" property="sourceType" value="2">
<trans:showPageMessage label="viewalerts.anorg" />
	</logic:equal>
	<logic:equal name="alert" property="sourceType" value="3">
<trans:showPageMessage label="viewalerts.aperson" />
	</logic:equal>
</i>
</td><td bgcolor="#FFFFFF"><b><trans:showPageMessage label="viewalerts.sent" />:</b><bean:write name="alert" property="sent"/></td></tr>
<tr><td bgcolor="#FFFFFF"><b><trans:showPageMessage label="viewalerts.priority" />:</b>
<logic:equal name="alert" property="priority" value="1">
<font color="green">
	<trans:showPageMessage label="viewalerts.LOW" />
	</font>
</logic:equal>
<logic:equal name="alert" property="priority" value="2">
	<trans:showPageMessage label="viewalerts.NORMAL" />
</logic:equal>
<logic:equal name="alert" property="priority" value="3">
<font color="red">
	<trans:showPageMessage label="viewalerts.HIGH" />
	</font>

</logic:equal>
</td><td bgcolor="#FFFFFF"><b><trans:showPageMessage label="viewalerts.read" />:</b><bean:write name="alert" property="read"/></td></tr>
<tr><td colspan=2 bgcolor="#FFFFFF"><b><trans:showPageMessage label="viewalerts.relatedobject" />:</b>
<logic:equal name="alert" property="sourceType" value="1">
	<html:link page="/activity/view.jsp" name="alert" property="params">
	<trans:showPageMessage label="viewalerts.clickheretoviewtherelprj" />
	</html:link>
</logic:equal><trans:showPageMessage label="translator.showhiddentags"/>
</td></tr>

</table>